## search.html
<%!
from itertools import cycle 
colors = cycle( [ 'even', 'odd' ] )
%>

<%inherit file="base.html"/>
<%def name="title()">
    Download
</%def>

<h1 align="center">Downloadable data</h1>

<table align="center" class="data_table" cellpadding="6" cellspacing="0">
	% for color, fname in zip(colors, param.files):
		${makerow(color, fname)}
	% endfor
</table>

<br>
<%def name="makerow(color, fname)">
    <tr class="${color}" align="center">
		<td><a href="/static/download/${fname}">${fname}</a></td>
    </tr>
</%def>

</form>
